package cn.xiongxf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication//(exclude = {DataSourceAutoConfiguration.class})  // 排除DataSource自动配置
@EnableDiscoveryClient
@EnableCaching  // 开启基于注解的缓存SpringCache
public class KillApp {
    public static void main(String[] args) {
        SpringApplication.run(KillApp.class,args);
    }
}
